﻿@model DLM.Web.ViewModel.FriendPageView
@{
    ViewBag.Title = "好友列表";
    Layout = "~/Views/Shared/_Master.cshtml";
}

<script type="text/javascript">
    function onInvitateSuccessed() {
        ShowDialogMessage('right', "您的操作成功了！");
    }


    function onInvitateFalied() {
        ShowDialogMessage('error', "您的操作失败了，请重试！");
    }
</script>
<div class="main">
    <div class="main_tab_2">
        <div class="main_tab_2_up">
            <ul>
                <li class="current"><a href="#">有新请求</a></li>
                <li><a href="#">好友名单</a></li>
                <li><a href="#">已发请求</a></li>
            </ul>
        </div>
        <div class="main_tab_2_down">
         <div id="divFriendRequest" class="box" >
                @{Html.RenderPartial("_MyFriendRequest", Model.MyRequest);}
            </div>
            <div id="divFriend" class="box" style="display: none;">
                @{Html.RenderPartial("_MyFriend", Model.MyFriend);}
            </div>
           
            <div id="divHistory" class="box" style="display: none">
                 @{Html.RenderPartial("_MyFriendHistory", Model.MyHistory);}
            </div>
        </div>
    </div>
</div>
